Skip to content

RunTimeException Error in process of test generation #182#218

Merged
Vassiliy-Kudryashov merged 1 commit into
mainfrom
Vassiliy-Kudryashov/182-runtimeexception-error-in-process-of-test-generation
Jun 15, 2022
Merged

RunTimeException Error in process of test generation #182#218
Vassiliy-Kudryashov merged 1 commit into
mainfrom
Vassiliy-Kudryashov/182-runtimeexception-error-in-process-of-test-generation

Conversation

@Vassiliy-Kudryashov

Copy link
Copy Markdown
Member

Description

From plugin side we check and skip interfaces, thus we don't try to process them at all
From engine side we throw IllegalStateException with helpful message instead of RuntimeException

Fixes #182

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual Scenario

"Generate tests..." action skips interfaces, so it's disabled if there is nothing except interfaces in the context.

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • No new warnings

@Vassiliy-Kudryashov Vassiliy-Kudryashov linked an issue Jun 15, 2022 that may be closed by this pull request
@Vassiliy-Kudryashov Vassiliy-Kudryashov merged commit 5d6db59 into main Jun 15, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov deleted the Vassiliy-Kudryashov/182-runtimeexception-error-in-process-of-test-generation branch June 15, 2022 16:49
@denis-fokin denis-fokin added the priority-top-focus Top priority chosen by dev team label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority-top-focus Top priority chosen by dev team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

RunTimeException Error in process of test generation

3 participants